﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace AutoInsurance.Classes
{
    public class Manager
    {
        public Manager(/*int id_manager,*/ String login, String surname, String name, String password, int role, String email, String phone)
        {
           // this.id_manager = id_manager;
            this.login = login;
            this.password = password;
            this.role = role;
            this.name = name;
            this.surname = surname;
            this.Phone = phone;
            this.email = email;


        }
        private string login;

        public string Login {
            get { return login; }
            set { login = value; }
        }

        private int id;

 /*       public int id_manager
        {
            get { return id_manager; }
            set { id_manager = value; }
        }
  * */
        private string password;

        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        private int role;

        public int Role
        {
            get { return role; }
            set { role = value; }
        }
        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string surname;

        public string Surname
        {
            get { return surname; }
            set { surname = value; }
        }
        private String phone;

        public String Phone
        {
            get {return phone;}
            set { phone = value; }
        }
        private string email;

        public string Email
        {
            get { return email; }
            set { email = value; }
        }
    }
}